﻿using System;
using System.Collections.Generic;
using Pay.DTO;

namespace Pay.IService {
	public interface IGradeService {
		IEnumerable<grade_dto> Gets(string merchant_no);
		grade_dto Get(long id);
		grade_dto Get(string grade_no);
        grade_dto Get(string grade_no,string merchant_no);
		int Add(grade_dto dto);
		int Update(grade_dto dto);
		int Delete(long id);

		/// <summary>
		/// 用于商户请求修改
		/// </summary>
		/// <returns>The save.</returns>
		/// <param name="grade">Grade.</param>
		//int Save(grade_ex grade);
	}
}